/*
 * Copyright (c) 2020. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
 * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
 * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus.
 * Vestibulum commodo. Ut rhoncus gravida arcu.
 */

package com.evenmo.string;

import org.junit.Test;

/**
 * This is Description 测试double和 float
 *
 * @author moyongjun
 * @date 2020/01/17
 */
public class TestDoubleFloat {
    @Test
    public void testdouble(){
        double d=1.2;
        System.out.println(d);
    }
    @Test
    public void testFloat(){
        float f=1.2f;
        System.out.println(f);
        double dd=f;

        System.out.println(dd);

    }
}
